/*
 * @Author: 灰灰
 * @Date: 2021-12-26 17:14:57
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2021-12-27 09:03:43
 */
import {
  getRequest,
  postRequest
} from './apiRequest';

// 获取菜单权限码
export function getMenuCodes() {
  const url = '/vue-admin-template/menu/list';
  return getRequest(url)
}

// 获取功能权限码
export function getPermList() {
  const url = '/vue-admin-template/perm/list';
  return getRequest(url);
}